[정찬욱] 로또 미션 Step2#8
Open
seeyoujeong wants to merge 87 commits intofe-clean-code-study:seeyoujeongfrom
Open
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
추가 요구사항 구현 목록
미션을 수행하면서 어려웠던 점
기존에는
inputManager의retyrScan메서드의 콜백에서 에러를 처리하는 형식으로 했었는데, 이렇게 구현하다보니 예외 처리에 한계를 느꼈습니다. 그래서retryOnFailureAsync라는 메서드를 만들어서 외부에서 처리를 해줄 수 있게 수정했는데, 이게 맞는지 애매하네요...shouldRestartGame,handleErrorAndPrint메서드를 어디에 넣는게 좋을지 고민을 많이 했네요.리뷰 받고 싶은 부분 & 궁금한 점
각 레이어에 속한 함수나 클래스의 위치가 괜찮은지 의견 공유 부탁드립니다.
클래스 내부의 메서드들 혹은 파일의 메서드들의 나열된 순서가 코드를 읽을때 괜찮은지, 이름은 이해가 되는지 궁금합니다!
최대한 분리를 했지만 더 분리할 코드가 있을까요?
어떤 지점에서 재미를 많이 느끼는지, 희열을 많이 느끼는지, 몰입을 많이 하는지
사실 코딩하면서 재미와 희열까지 느껴본 기억은 없는듯하고, 구현을 끝내거나 코드 정리가 깔끔하게 되면 뿌듯함을 느낍니다.
하기 싫지 않은 상태에서 특정 시간 내에 끝낼 수 있을 정도의 목표를 정하고 일을 시작하면 몰입이 되는 것 같아요.
Summary by CodeRabbit
New Features
Tests
Scripts
package.jsonfor better test management.Documentation